package us.oh.k12.wkw.robot.command;

public class LauncherPlungerFireCmd extends CommandBase {

    public LauncherPlungerFireCmd() {

        super("PlungerFireCmd");
        this.requires(this.getLaunchFrisbeeSystem());
    }

    protected void initialize() {
        setTimeout(.05);
        this.getLaunchFrisbeeSystem().plungerRetract();
    }

    protected void execute() {
        /*
         try {

         //this.debug("execute()", "Called.");
         this.getLaunchFrisbeeSystem().plungerRetract();

         } catch (Exception anEx) {
         this.error("execute()", anEx);
         }
         */
    }

    protected boolean isFinished() {
        // boolean isTimedOut = super.isTimedOut();
        // this.getLaunchFrisbeeSystem().plungerExtend();
        // return isTimedOut;
        return isTimedOut();
    }
}
